<!DOCTYPE html>
<script type="text/javascript" src="js/consultool.js"></script>

<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
	<pre id="demo">

	</pre>
	<script>
	xiongxiong = consul_get('http://10.68.60.59:8500/v1/catalog/service/mysql-middleware',"demo",false);
	xiongxiong1 = JSON.parse(xiongxiong);
	xiongxiong2 = JSON.stringify(xiongxiong1, null, 4);
	document.getElementById("demo").innerHTML = xiongxiong2
	</script>
	</body>
</html>
